import request from '@/utils/request'
import { makeRequestJson } from '@/utils/common'

export function list(query, responseType) {
  for (const key in query) {
    if (query[key] === '') {
      query[key] = undefined
    }
  }
  return request(makeRequestJson('post', '/user/data', query, responseType))
}
